package groovy

import com.wpg.demo.spring.xml.addressbook.repository.impl.AddressBookRepositoryImpl
import com.wpg.demo.spring.xml.addressbook.service.impl.AddressBookServiceImpl

beans {
    addressBookService(AddressBookServiceImpl) {
        addressBookRepository = ref("addressBookRepository")
    }

    addressBookRepository(AddressBookRepositoryImpl)
}